package com.lanhai.mind.dao;

import com.lanhai.mind.enums.TransDirectionEnum;

/**
 * 设备定义
 * @author zhengwei
 *
 */
public class DeviceDao {
	private int deviceid;
	private String ip ;  
	private int port;
	private String cmdSign;
	private boolean disable;
	
	// 对接设备上下料类型（只上，只下，都有）
		private TransDirectionEnum transType;
	 
	//上层可传输
	private boolean upTrans;
	//下层可传输
	private boolean downTrans;
	 
	//设备分组
	private String deviceGroup;
	//工序分组
	private String processGroup;
	
	 
	//超过这个值，对接设备才可以做移动
	  private int leastnum;
	  
	  //离开路线
	  private int leftRoad;
private int dotNO;

//线别
	  private byte line;
	  
 
	public TransDirectionEnum getTransType() {
	return transType;
}

public void setTransType(TransDirectionEnum transType) {
	this.transType = transType;
}

	public int getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(int deviceid) {
		this.deviceid = deviceid;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getCmdSign() {
		return cmdSign;
	}

	public void setCmdSign(String cmdSign) {
		this.cmdSign = cmdSign;
	}

	public boolean isDisable() {
		return disable;
	}

	public void setDisable(boolean disable) {
		this.disable = disable;
	}

	public boolean isUpTrans() {
		return upTrans;
	}

	public void setUpTrans(boolean upTrans) {
		this.upTrans = upTrans;
	}

	public boolean isDownTrans() {
		return downTrans;
	}

	public void setDownTrans(boolean downTrans) {
		this.downTrans = downTrans;
	}

 

	public String getDeviceGroup() {
		return deviceGroup;
	}

	public void setDeviceGroup(String deviceGroup) {
		this.deviceGroup = deviceGroup;
	}

	public String getProcessGroup() {
		return processGroup;
	}

	public void setProcessGroup(String processGroup) {
		this.processGroup = processGroup;
	}

	public int getLeastnum() {
		return leastnum;
	}

	public void setLeastnum(int leastnum) {
		this.leastnum = leastnum;
	}

	public int getLeftRoad() {
		return leftRoad;
	}

	public void setLeftRoad(int leftRoad) {
		this.leftRoad = leftRoad;
	}

	public int getDotNO() {
		return dotNO;
	}

	public void setDotNO(int dotNO) {
		this.dotNO = dotNO;
	}

	public byte getLine() {
		return line;
	}

	public void setLine(byte line) {
		this.line = line;
	}
	  
	  
}
